* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    z-index: 1;
    background-color: #F6F4F3;
    color: black;
}

.productList {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: auto;
    padding: 10px;
}

.productList .close {
    margin-bottom: 25px;
    padding: 15px 10px;
    cursor: pointer;
}

    .productList:has(.noResult) {
        text-align: center;
    }

    .productList .noResult {
        margin: auto;
        padding: 15px;
        font-size: 24px;
    }

        .productList .noResult + a {
            text-decoration: none;
            font-size: 16px;
            color: black;
            margin-bottom: 50px;
        }


.listing {
    margin: auto;
    margin-bottom: 50px;
    height: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: white;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    cursor: pointer;
}

    .listing .photo {
        padding: 10px;
    }

        .listing .photo img {
            margin: auto;
            width: 300px;
            height: 200px;
            object-fit: contain;
            border-radius: 10px;
        }

    .listing .description {
        margin: 10px;
        width: 300px;
        border-top: 2px solid #FCAB4C;
    }

.description .text {
    min-height: 160px;
    padding: 15px;
}

.description h2 {
    font-size: 20px;
}

.description p {
    padding: 15px;
    font-size: 16px;
}

.description .price {
    text-align: center;
    font-size: 18px;
    padding: 15px;
}

@media only screen and (min-width: 800px) {


    .listing {
        flex-direction: row;
    }

        .listing .description {
            border: none;
            border-left: 2px solid #FCAB4C;
        }
}
